package com.ynet.middleground.mobile.approve.request;

import java.io.Serializable;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName GetBase64ImageReq
 * @Description 获取流程图资源请求类
 * @Author liwq
 * @Date 2021/4/2 9:06
 * @Version 1.0
 */
@Data
@ApiModel(value = "获取流程图资源请求信息")
public class GetBase64ImageReq implements Serializable {

    private static final long serialVersionUID = 4937762235331390894L;

    @NotNull(message = "用户 Id 不能为空")
    @ApiModelProperty(value = "用户 Id ", required = true)
    private Integer userId;

    @NotBlank(message = "流程实例Id不能为空")
    @ApiModelProperty(value = "流程实例Id", required = true)
    private String processInstanceId;

}
